<template>
  <UseDark v-slot="{ isDark, toggleDark }">
    <button @click="toggleDark()">Is Dark: {{ isDark }}</button>
  </UseDark>
  <router-view></router-view>
</template>

<script lang="ts" setup>
import { ref, reactive } from "vue";
// import {useDark, useToggle} from '@vueuse/core'
import { UseDark } from "@vueuse/components";

// const isDark = useDark()
// const toggleDark = useToggle(isDark)
</script>

<style lang="scss" scoped></style>
